import React, { useState, useEffect } from 'react'
import { NavLink } from 'react-router-dom'
import "./nav.less"
export default function Nav(props) {
    let [status, setStatus] = useState("")
    // useEffect(() => {
    //     props.getParmas(status)
    // }, [status])
    function links(n) {
        setStatus((o) => o = n)
        let obj = {
            name: "",
            arr: []
        }
        // props.clearParams(obj)
    }
    return (
        <div style={{
            position: 'sticky',
            top: "0rem"
        }}>
            <div className='uli'>
                {/* <NavLink to="" onClick={() => { links(1) }}>普通讲师</NavLink>
                <NavLink to="" onClick={() => { links(2) }}>高级讲师</NavLink>
                <NavLink to="" onClick={() => { links(3) }}>特聘讲师</NavLink>
                <NavLink to="" onClick={() => { links(4) }}>超级讲师</NavLink> */}
            </div>
        </div>
    )
}
